using System;

namespace DJLang
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public class DJFuncAttribute : Attribute
    {
        public string FunctionName { get; private set; }

        public DJFuncAttribute(string name)
        {
            FunctionName = name;
        }
    }

    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    internal class DJSyntaxAttribute : Attribute
    {
        public string MacroName { get; private set; }

        public DJSyntaxAttribute(string name)
        {
            MacroName = name;
        }
    }

    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public class DJMacroAttribute : Attribute
    {
        public string MacroName { get; private set; }

        public DJMacroAttribute(string name)
        {
            MacroName = name;
        }
    }
}
